package cc.loach.homekit.hap.controlled.device.loach._lightbulb._light._accessoryinformation.properties;

import java.util.function.Supplier;


import cc.loach.homekit.hap.typedef.accessory.HapCharacteristic;
import cc.loach.xiot.spec.definition.property.Access;
import cc.loach.xiot.spec.definition.property.data.DataFormat;
import cc.loach.xiot.spec.definition.urn.PropertyType;

import io.vertx.core.Future;


/**
 * Property: 模型
 */
public class Model extends HapCharacteristic<String> {

    public static final int IID = 4;
    public static final String TYPE = "urn:homekit-spec:property:model:00000021:loach:light:1";

    public Model() {
        super(IID, new PropertyType(TYPE), new Access(false, true, false), DataFormat.STRING);
        
    }

    public Model doGet(Supplier<Future<String>> getter) {
        this.getter = getter;
        return this;
    }


}
